#ifndef __nsExchangeIncomingServer_h
#define __nsExchangeIncomingServer_h

#include "msgCore.h"
#include "nsMsgIncomingServer.h"
#include "nsIExchangeIncomingServer.h"

/* get some implementation from nsMsgIncomingServer */
class nsExchangeIncomingServer : public nsMsgIncomingServer,
                                 public nsIExchangeIncomingServer
{
public:
    NS_DECL_ISUPPORTS_INHERITED
    NS_DECL_NSIEXCHANGEINCOMINGSERVER

    nsExchangeIncomingServer();
    virtual ~nsExchangeIncomingServer();

    // nsIMsgIncomingServer methods:
    NS_IMETHOD GetLocalStoreType(nsACString& type);

protected:
    NS_IMETHOD CreateRootFolderFromUri(const nsCString &serverUri, nsIMsgFolder **rootFolder);
    
private:
    nsCAutoString m_localStoreType;

};

#endif
